﻿<%@ Page Title="" Language="C#" MasterPageFile="/Common/Master.master" %>

<script runat="server">

</script>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentForm" runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentHtml" runat="Server">
    <div class="easyui-layout tableEdit" data-options="fit:true,border:false">
        <div data-options="region:'center',border:false">
           <div class="z_wrap">
                <ul class="info">
					<li>
                                        <em class='l_name'>控制器名称：</em>
                                        <div class='r_con' id='ControllerName'></div></li><li>
                                        <em class='l_name'>方法名称：</em>
                                        <div class='r_con' id='ActionName'></div></li><li>
                                        <em class='l_name'>方法描述：</em>
                                        <div class='r_con' id='ActionDescription'></div></li><li>
                                        <em class='l_name'>请求参数：</em>
                                        <div class='r_con' id='ActionParameters'></div></li><li>
                                        <em class='l_name'>：</em>
                                        <div class='r_con' id='ActionUrl'></div></li><li>
                                        <em class='l_name'>执行时间(毫秒)：</em>
                                        <div class='r_con' id='ExecTime'></div></li><li>
                                        <em class='l_name'>返回值：</em>
                                        <div class='r_con' id='ResultValue'></div></li><li>
                                        <em class='l_name'>错误信息：</em>
                                        <div class='r_con' id='Error'></div></li><li>
                                        <em class='l_name'>ip：</em>
                                        <div class='r_con' id='IP'></div></li><li>
                                        <em class='l_name'>浏览器版本：</em>
                                        <div class='r_con' id='BrowserVersion'></div></li><li>
                                        <em class='l_name'>请求方式：</em>
                                        <div class='r_con' id='Method'></div></li><li>
                                        <em class='l_name'>创建时间：</em>
                                        <div class='r_con' id='AddTime'></div></li><li>
                                        <em class='l_name'>组织机构ID：</em>
                                        <div class='r_con' id='OrgID'></div></li>
				</ul>
            </div>
        </div>
    </div>
    <script type="text/javascript">
        $(function () {
            if ($.getUrlParamer("guid") != "") {
                DataBind();
            }
        });

        function DataBind() {
            $.InvokeAjax({
                url: "Api/V1/System_Log/GetLog",
                data: { ID: $.getUrlParamer("guid") },
                callBack: function (data) {
                    var obj = $.StrToJson(data).Results;

                    $.SetValue("ID", obj.ID);
$.SetValue("ControllerName", obj.ControllerName);
$.SetValue("ActionName", obj.ActionName);
$.SetValue("ActionDescription", obj.ActionDescription);
$.SetValue("ActionParameters", obj.ActionParameters);
$.SetValue("ActionUrl", obj.ActionUrl);
$.SetValue("ExecTime", obj.ExecTime);
$.SetValue("ResultValue", obj.ResultValue);
$.SetValue("Error", obj.Error);
$.SetValue("IP", obj.IP);
$.SetValue("BrowserVersion", obj.BrowserVersion);
$.SetValue("Method", obj.Method);
$.SetValue("AddTime", $.DateFormat(obj.AddTime, 'yyyy-MM-dd HH:mm:ss'));
$.SetValue("AddUserID", obj.AddUserID);
$.SetValue("OrgLevels", obj.OrgLevels);
$.SetValue("OrgID", obj.OrgID);

                }
            });
        } 
    </script>
</asp:Content>